package com.lyh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA
 *
 * @version 1.0
 * @Author 魂道子
 * @Date 2020-01-01
 * @Time 21:31
 */
@RestController
@EnableAutoConfiguration
public class Example {

    @RequestMapping("/hello")
    String home() {
        return "李咏桦你好";
    }

    public static void main(String[] args) {
        SpringApplication.run(Example.class, args);
    }

}
